// 导入axios
import axios from 'axios'
import router from '../router'

// 创建axios实例
const request = axios.create({
  baseURL: 'http://ttapi.reseach.itcast.cn',
  router
})

export default request
